LearnPress\Models\UserItems\UserQuizModel A

Total Complexity 66
Dependencies 13
Dependents 2
Total lines 527
Lines of code 312
Logical lines of code 190
Comment lines 140
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
calculate_quiz_result()
B
35 15 85
check_can_retake()
A
44 11 42
check_can_start()
A
47 8 35
get_result()
S
50 5 31
get_timestamp_remaining()
S
55 5 19
get_attempts()
S
57 5 16
retake()
S
50 3 28
start_quiz()
S
62 2 11
__construct()
S
72 2 6
get_quiz_model()
S
71 2 6
get_question_ids()
S
65 2 9
get_checked_questions()
S
65 2 10
get_time_spend()
S
67 2 8
get_status()
S
82 1 3
get_retaken_count()
S
80 1 3